package com.guoxin.thread.lock;

/**
 * @author guoxin
 * @date 2019/6/28
 */
@SuppressWarnings("all")
public class MainThread {
    public static void main(String[] args) {
        Resource r = new Resource();
        InputThread inputThread = new InputThread(r);
        OutputThread outputThread = new OutputThread(r);
        inputThread.start();
        outputThread.start();
    }
}
